
import request from '@/utils/request'

export function getRedmineList(params) {
    return request({
        url: '/taskRedmine/selectList',
        method: 'get',
        params,
    })
}

export function updateRedmine(data) {
    return request({
        url: '/taskRedmine/update',
        method: 'post',
        data,
    })
}

export function deleteRedmine(data) {
    return request({
        url: '/taskRedmine/delete',
        method: 'post',
        data,
    })
}

export function postRedmine(data) {
    return request({
        url: '/taskRedmine/postRedmine',
        method: 'post',
        data,
    })
}

export function getRedmineAllPageList(params) {
    return request({
        url: '/taskRedmine/selectAllPageList',
        method: 'get',
        params,
    })
}

export function postAllRedmine(data) {
    return request({
        url: '/taskRedmine/postAllRedmine',
        method: 'post',
        timeout: 0,
        data,
    })
}